﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Windvoice.Areas.Manage.Controllers
{
    public class UserController : ManagerControllerBase
    {
        //
        // GET: /Manage/User/

        public ActionResult Index(int? page)
        {
            int PageIndex = page == null ? 1 : page.Value;
            int PageSize = 14, RecordCount = 0;

            ViewBag.UserList = Windvoice.Authorize.User.GetList(PageIndex, PageSize, out RecordCount);
            ViewBag.RecordCount = RecordCount;
            ViewBag.PageSize = PageSize;

            return View();
        }

    }
}
